package com.luli.service;

import com.luli.service.impl.Agent;
import com.luli.service.impl.MaleSinger;

/**
 * 陆离
 * 2024/10/10 19:11:34
 * 客户
 */
public class Client {
    public static void main(String[] args) {
        MaleSinger luhan = new MaleSinger();
        ProxyAll agent = new ProxyAll();
        agent.setSinger(luhan);
        Singer singer = (Singer) agent.getProxy();
        singer.sing();
    }
}
